package com.ruoyi.papercustomeranswer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目具体答题信息对象 t_exam_paper_question_customer_answer
 * 
 * @author ruoyi
 * @date 2023-06-25
 */
public class ExamPaperQuestionCustomerAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long id;

    /** 题目Id */
    @Excel(name = "题目Id")
    private Long questionId;

    /** 试卷Id */
    @Excel(name = "试卷Id")
    private Long examPaperId;

    /** 答卷Id */
    @Excel(name = "答卷Id")
    private Long examPaperAnswerId;

    /** 题型 */
    @Excel(name = "题型")
    private Long questionType;

    /** 得分 */
    @Excel(name = "得分")
    private Long customerScore;

    /** 题目原始分数 */
    @Excel(name = "题目原始分数")
    private Long questionScore;

    /** 题目内容ID */
    @Excel(name = "题目内容ID")
    private Long questionTextContentId;

    /** 选择判断题答案 */
    @Excel(name = "选择判断题答案")
    private String answer;

    /** 简单填空题答案ID */
    @Excel(name = "简单填空题答案ID")
    private Long textContentId;

    /** 是否正确 */
    @Excel(name = "是否正确")
    private Long doRight;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setExamPaperId(Long examPaperId) 
    {
        this.examPaperId = examPaperId;
    }

    public Long getExamPaperId() 
    {
        return examPaperId;
    }
    public void setExamPaperAnswerId(Long examPaperAnswerId) 
    {
        this.examPaperAnswerId = examPaperAnswerId;
    }

    public Long getExamPaperAnswerId() 
    {
        return examPaperAnswerId;
    }
    public void setQuestionType(Long questionType) 
    {
        this.questionType = questionType;
    }

    public Long getQuestionType() 
    {
        return questionType;
    }
    public void setCustomerScore(Long customerScore) 
    {
        this.customerScore = customerScore;
    }

    public Long getCustomerScore() 
    {
        return customerScore;
    }
    public void setQuestionScore(Long questionScore) 
    {
        this.questionScore = questionScore;
    }

    public Long getQuestionScore() 
    {
        return questionScore;
    }
    public void setQuestionTextContentId(Long questionTextContentId) 
    {
        this.questionTextContentId = questionTextContentId;
    }

    public Long getQuestionTextContentId() 
    {
        return questionTextContentId;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setTextContentId(Long textContentId) 
    {
        this.textContentId = textContentId;
    }

    public Long getTextContentId() 
    {
        return textContentId;
    }
    public void setDoRight(Long doRight) 
    {
        this.doRight = doRight;
    }

    public Long getDoRight() 
    {
        return doRight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("examPaperId", getExamPaperId())
            .append("examPaperAnswerId", getExamPaperAnswerId())
            .append("questionType", getQuestionType())
            .append("customerScore", getCustomerScore())
            .append("questionScore", getQuestionScore())
            .append("questionTextContentId", getQuestionTextContentId())
            .append("answer", getAnswer())
            .append("textContentId", getTextContentId())
            .append("doRight", getDoRight())
            .append("createTime", getCreateTime())
            .toString();
    }
}
